//import { reactive, ref } from 'vue'

export function useCounter() {
  const obj = reactive({
    age: 20
  })
  const count = ref()
  function addCount() {
    count.value += 1
  }

  return {
    obj,
    count,
    addCount
  }
}
